<?php
$data['cur_parent_menu']='master';
$data['cur_selected_menu']='prc';
$this->load->view('template/menu_view',$data);
?>

<br/><br/><br/><br/><br/><br/>
<center><a href="<?php echo PRC?>form_add_prosentase_charge">Buat Prosentase Charge</a></center>
<center>
<table id="list_prosentase_charge" width="250">
	<thead>
		<tr>
			<th>Charge Supir</th>
			<th>Perusahaan</th>
                        <th>Asal</th>
                        <th>Tujuan</th>
                        <th>Aksi</th>
		</tr>
	</thead>
	<tbody>
		<?php for($i=0;$i<count($daftar_prosentase_charge);$i++){?>
		<tr>
			<td align="center"><?php echo $daftar_prosentase_charge[$i]['charge_supir']?></td>
			<td align="center"><?php echo $daftar_prosentase_charge[$i]['perusahaan']?></td>
                        <td align="center"><?php echo $daftar_prosentase_charge[$i]['asal']?></td>
                        <td align="center"><?php echo $daftar_prosentase_charge[$i]['tujuan']?></td>
			<td align="center">
				<a href="<?php PRC?>process_delete_prosentase_charge/<?php echo $daftar_prosentase_charge[$i]['id']?>" onclick="return confirm_message()">Delete</a> 
				| 
                                <a href="<?php PRC?>form_edit_prosentase_charge/<?php echo $daftar_prosentase_charge[$i]['id']?>">Edit</a>
			</td>
		</tr>
		<?php } ?>
		
	</tbody>
</table>
<br/><br/><br/>
</center>